using System.Data.OleDb;

namespace DAO
{
    public interface IDaoObject<T, TIdT >
    {
        T SaveOrUpdate(T obj);
        T SaveOrUpdate(T obj, OleDbTransaction transaction);
        void Delete(TIdT id);
        T Select(TIdT id);
        T[] SelectAll();
    }
   
}
